//
//  AXHomeNzscThirdCell.m
//  AnXin100
//
//  Created by 天质弘耕 on 2018/10/23.
//  Copyright © 2018年 tzhg. All rights reserved.
//

#import "AXHomeNzscThirdCell.h"

@implementation AXHomeNzscThirdCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self creatView];
        [self setlayout];
    }
    return self;
}

- (void)creatView {
    
    self.xsyhImgView = [[UIImageView alloc]init];
    self.xsyhImgView.contentMode =UIViewContentModeScaleAspectFill;
    self.xsyhImgView.clipsToBounds=YES;//
    self.xsyhImgView.image = [UIImage imageNamed:@"nzsc_cm"];
    [self.contentView addSubview:self.xsyhImgView  ];
}

- (void)setlayout {
    self.xsyhImgView.sd_layout
    .leftSpaceToView(self.contentView, 10)
    .topSpaceToView(self.contentView, 10)
    .widthIs(SCREEN_WIDTH-20)
    .heightIs(100);
    
}

@end 
